/* 登录页面样式 */

#login {
  height: 100vh;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

#login::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(-45deg, #8A2BE2, #9370DB, #DA70D6, #BA55D3, #9932CC, #8A2BE2);
  background-size: 400% 400%;
  animation: gradientAnimation 8s ease infinite;
  z-index: -1;
}

.system-title {
  text-align: center;
  font-family: 'Arial Black', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  font-size: 32px;
  font-weight: bold;
  color: #000;
  margin: 0 0 20px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  background: linear-gradient(45deg, #8A2BE2, #2575fc, #DA70D6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: titleGradient 3s ease infinite;
}

@keyframes titleGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.form-wrap {
  width: 320px;
  padding-top: 70px;
  margin: auto;
}

.form-container {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.menu-tab {
  text-align: center;
}

.menu-tab li {
  display: inline-block;
  padding: 10px 24px;
  margin: 0 10px;
  font-size: 18px;
  color: #000;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.menu-tab li.current {
  color: #000;
  border-bottom: 2px solid #409eff;
}

.form-label {
  display: block;
  margin-bottom: 5px;
  color: #000;
}

#login :deep(.el-input__wrapper) {
  background-color: transparent !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) !important;
}

#login :deep(.el-input__wrapper input) {
  color: #000;
  background-color: transparent;
}

#login :deep(.el-input__wrapper input::placeholder) {
  color: rgba(0, 0, 0, 0.5);
}

#login :deep(.el-form-item.is-error .el-input__wrapper) {
  box-shadow: 0 0 0 1px #f56c6c !important;
}

#login :deep(.el-form-item__error) {
  color: #f56c6c;
}

.el-button-block {
  width: 100%;
  margin-top: 20px;
}

#login :deep(.el-button--info) {
  background-color: #909399;
  border-color: #909399;
  color: #fff;
}

.avatar-uploader :deep(.el-upload) {
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fafafa;
}

.avatar-uploader :deep(.el-upload:hover) {
  border-color: #409eff;
}

.avatar-uploader .avatar {
  width: 100px;
  height: 100px;
  display: block;
  object-fit: cover;
}

.avatar-uploader .avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

